package com.twu.biblioteca.menu;

import com.twu.biblioteca.BibliotecaApp;
import com.twu.biblioteca.users.UserSession;

public class CheckMembershipDetailsOption implements OptionChoosenByUser {

    @Override
    public void execute() {
        UserSession userSession = BibliotecaApp.loggedInUser.get();
        if(UserSession.isUserLoggedIn()){
            userSession.displayLoggedInUserDetails();
        }else {
            System.out.println("Please talk to a librarian thank you");

        }

    }
}
